package exception;

import java.util.Arrays;

public class Demo {
    public static void main(String[] args) {


        String line = "123.456.789";
        String[] data = line.split("\\.");
        System.out.println(Arrays.toString(data));
    }
}